package cn.iocoder.yudao.module.trade.controller.app.order2.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 套餐订单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PackageOrderPageReqVO extends PageParam {

    @Schema(description = "订单流水号")
    private String no;

    @Schema(description = "订单类型", example = "1")
    private Integer type;

    @Schema(description = "订单来源终端")
    private Integer terminal;

    @Schema(description = "用户编号", example = "23274")
    private Long userId;

    @Schema(description = "用户 IP")
    private String userIp;

    @Schema(description = "订单状态", example = "1")
    private Integer status;

    @Schema(description = "取消类型", example = "2")
    private Integer cancelType;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "是否评价", example = "1")
    private Boolean commentStatus;

    @Schema(description = "订单id", example = "9248")
    private Integer packageId;

    @Schema(description = "订单金额（总），单位：元", example = "9248")
    private Integer payPrice;

    @Schema(description = "售后状态", example = "1")
    private Integer refundStatus;

    @Schema(description = "退款金额，单位：分", example = "27686")
    private Integer refundPrice;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}